package simpleeditor.model;

import simpleeditor.Strings;


public class Property {

	private String name;
	private PropertyType type;
	private String value;

	public Property(){
		this.type=PropertyType.INTEGER;
		this.value="0";
		this.name=Strings.PROP_DEFAULT_PREFIX+this.hashCode();
	}
	
	public String getName() {
		return this.name;
	}

	protected void setName(String name) {
		this.name = name;
	}
	
	public PropertyType getType() {
		return this.type;
	}

	protected void setType(PropertyType type) {
		this.type = type;
	}

	public String value() {
		return this.value;
	}

}
